-
Notifications
You must be signed in to change notification settings - Fork 553
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix 9461 mutations api endpoint final #9914
Fix 9461 mutations api endpoint final #9914
Conversation
- modified java files to remove unused properties and changes to tests - db changes, mutationmapper.xml - Update seed_mini.sql roll back changes for refseqMrnaId roll back changes for refseqMrnaId Update ExtendedMutation.java Added required property setOncotatorRefseqMrnaId and getOncotatorRefseqMrnaId
Updated more files for removed fields Remove unused oncotator fields Remove unused oncotator fields ONCOTATOR_DBSNP_RS ONCOTATOR_UNIPROT_ENTRY_NAME remove fields from sql file ONCOTATOR_DBSNP_RS and ONCOTATOR_UNIPROT_ENTRY_NAME removal from sql file
db changes in sql for renaming columns renamed the column prefixes from oncotator to mutation on multiple classes and files
Update testSql.sql updating testSql for the name change of columns from ONCOTATOR to MUTATION Update DaoMutation.java The data files still use the old column prefix of ONCOTATOR instead of MUTATION Update DaoMutation.java Update migration.sql Adding quotes around column names
db changes in sql for renaming columns renamed the column prefixes from oncotator to mutation on multiple classes and files
Update migration.sql fix syntax errors in mysql change column Update migration.sql fix syntax errors in mysql change column setting db version setting db version
Removed Link columns and modified the documentation
Kudos, SonarCloud Quality Gate passed! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jagnathan Thanks for making these changes. @inodb could you do a quick final review about changes in this pr?
I just wanted to add a few things about versioning:
We also need to change another two files to make sure DB version is in sync everywhere:
- https://github.com/cBioPortal/cbioportal/blob/master/pom.xml#L317
- https://github.com/cBioPortal/cbioportal/blob/master/db-scripts/src/main/resources/cgds.sql#L765
And the version should be 2.13.0
based on Database-Versioning
ALTER TABLE `mutation_event` CHANGE COLUMN `ONCOTATOR_UNIPROT_ACCESSION` `MUTATION_UNIPROT_ACCESSION` varchar(64); | ||
ALTER TABLE `mutation_event` CHANGE COLUMN `ONCOTATOR_PROTEIN_POS_START` `MUTATION_PROTEIN_POS_START` int(11); | ||
ALTER TABLE `mutation_event` CHANGE COLUMN `ONCOTATOR_PROTEIN_POS_END` `MUTATION_PROTEIN_POS_END` int(11); | ||
UPDATE `info` SET `DB_SCHEMA_VERSION`="2.12.16"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jagnathan Based on the database versioning we discussed, we should update the version to 2.13.0
: https://github.com/cBioPortal/cbioportal/blob/master/docs/Database-Versioning.md
Kudos, SonarCloud Quality Gate passed! |
@@ -103,16 +103,14 @@ public class MafRecord { | |||
private String maLinkMsa; | |||
private String maLinkPdb; | |||
|
|||
// Oncotator cols |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we leave this entire MafRecord
file as is? Doesn't feel like the oncotator -> maf renaming adds much. Prolly better to leave this for the ticket where we fix the maf parser
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
but if it's easier to keep the current changes, that's fine too
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great! Thanks so much @dippindots and @jagnathan !
Fix #9461
API Changes:
functionalImpactScore
fisValue
linkXVar
linkPdb
linkMsa
oncotatorDbSnpRs
oncotatorUniprotName
oncotatorRefseqMrnaId
torefseqMrnaId
oncotatorUniprotAccession
touniprotAccession
oncotatorCodonChange
tocodonChange
oncotatorProteinPosStart
toproteinPosStart
oncotatorProteinPosEnd
toproteinPosEnd
Schema Changes:
ONCOTATOR_DBSNP_RS
ONCOTATOR_DBSNP_RS
ONCOTATOR_REFSEQ_MRNA_ID
toREFSEQ_MRNA_ID
ONCOTATOR_CODON_CHANGE
toCODON_CHANGE
ONCOTATOR_UNIPROT_ACCESSION
toUNIPROT_ACCESSION
ONCOTATOR_PROTEIN_POS_START
toPROTEIN_POS_START
ONCOTATOR_PROTEIN_POS_END
toPROTEIN_POS_END
FUNCTIONAL_IMPACT_SCORE
FIS_VALUE
LINK_XVAR
LINK_PDB
LINK_MSA